import 'package:love_newf/generated/json/base/json_field.dart';
import 'package:love_newf/generated/json/user_setting_model.g.dart';
import 'dart:convert';
export 'package:love_newf/generated/json/user_setting_model.g.dart';

@JsonSerializable()
class UserSettingModel {
	int id = 0;
	int userId = 0;
	int voiceInvite = 0;
	int vipOnlineNotice = 0;
	int videoSwitch = 0;
	int privateChatSwitch = 0;
	int recommendSwitch = 0;
	int videoTokens = 0;
	int hideGuard = 0;
	int hideLovers = 0;
	int enableLog = 0;

	UserSettingModel();

	factory UserSettingModel.fromJson(Map<String, dynamic> json) => $UserSettingModelFromJson(json);

	Map<String, dynamic> toJson() => $UserSettingModelToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}